This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Andy Cisponeverobu 17.Mar.03 11:16 AM a Web browser Domino Designer6.0.1All Platforms
I have a db that had several replication conflicts in it. I have manually deleted all the conflicts. The propertybox of the db shows that it contains 170.000 documents. When I selects all doc's in the db i see that it contains only 3700. I suggest that all the others (166.300 !!!!) is conflict that I do not see??
How can I get rid of all this conflicts?
I've tried making an agent running on all doc's in the db, but it does not help. See code under.
Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim entry As NotesViewEntry
Set db = session.CurrentDatabase
Dim Vec As notesViewEntryCollection
j=1
Set view = db.GetView( "$All" )
Set vec = view.AllEntries
Set entry = vec.GetNthEntry( j )
Set doc = entry.Document
While Not (doc Is Nothing)
If entry.isconflict = True Then
Call doc.remove(True)
End If
j=j+1
Set entry = vec.GetNthEntry( j )
If entry Is Nothing Then
Exit Sub
End If
Set doc = entry.Document
Wend
End Sub